package com.czk.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 标准产品单元
 * 概念 : SPU 是商品信息聚合的最小单位，是一组可复用、易检索的标准化信息的集合，该集合描述了一个产品的特性。
 * 通俗点讲，属性值、特性相同的货品就可以称为一个 SPU
 * <p>
 * 例如：华为P30 就是一个 SPU
 */
@Data
@NoArgsConstructor
public class TbSpu implements Serializable {

    private String id;

    private String sn;

    private String name;

    private String caption;

    private Integer brandId;

    private Integer category1Id;

    private Integer category2Id;

    private Integer category3Id;

    private Integer templateId;

    private Integer freightId;

    private String image;

    private String images;

    private String saleService;

    private String specItems;

    private String paraItems;

    private Integer saleNum;

    private Integer commentNum;

    private String isMarketable;

    private String isEnableSpec;

    private String isDelete;

    private String status;

    private String introduction;

}